
package com.jml.config;

import org.springframework.context.annotation.ComponentScan;
import org.springframework.context.annotation.Configuration;
import org.springframework.web.servlet.config.annotation.EnableWebMvc;


@Configuration   //替代XML
@ComponentScan("com.jml.controller")  //替代XML中扫包范围
@EnableWebMvc // 等于开启SpringMVC注解方式
public class SpringMvcConfig {

}

